package com.buaa.wangrui.database;

import java.sql.Connection;
import java.sql.SQLException;

public class DBHandler {
	
	public Connection conn;
	
	final String db_name="root";
	
	final String db_psw="wangrui";
	
	public DBHandler(){
		
		try{
			
			this.conn = new DBConnection(db_name,db_psw).getConnection();
		}catch(SQLException ex){
			
			ex.printStackTrace();
		}
	}

}
